package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleCateList(ctx context.Context, req *v1.ArticleCateListReq) (res *v1.ArticleCateListRes, err error) {
	res = &v1.ArticleCateListRes{}
	res.Rows, err = service.ArticleCate().List(ctx, &req.ArticleCateListInput)
	return
}
